package main

func demo(i int) {
	var arr [10] int
	defer func() {
		recover()
	}()
	arr[i] = 123
}

func main() {
	demo(10)
}
